@model Adams.Admin.DataTransfer.Businesses.Pending.PageLoad
@{
    Layout = "~/Views/Businesses/_Layout.cshtml";
}
@section Head{
    <link rel="stylesheet" type="text/css" href="/Content/Businesses/pending.css" />
}
<div class="content-box">
    <div class="content-box-header">
        <h3>
            Businesses</h3>
    </div>
    <div class="content-box-content">
        @foreach (var Business in Model.Businesss)
        {
            var did = "p_" + Business.ID.ToString();
            <div id="@did" class="Business">
                <div class="align-right">
                    <input class="button approve" type="button" value="Approve" pid="@Business.ID" />
                    <input class="bluebutton reject" type="button" value="Reject" pid="@Business.ID" />
                    <input class="redbutton delete" type="button" value="Delete" pid="@Business.ID" />
                </div>
                Type:@Business.Category.Type.Name
                <br />
                Category: @Business.Category.Name
                <br />
                Member: @Business.Member.FirstName @Business.Member.LastName (@Business.Member.Email)
                <br />
                Name: @Business.Name
                <br />
                Street: @Business.Street
                <br />
                Street2: @Business.Street2
                <br />
                City: @Business.City
                <br />
                State: @Business.State
                <br />
                Zip: @Business.Zip
                <br />
                Phone: @Business.Phone
                <br />
                CreatedOn: @Business.CreatedOn
                <br />
                ExpiresOn: @Business.ExpiresOn
                <br />
                Description:
                <br />@Business.Description
            </div>
        }
    </div>
</div>
@section Scripts {
    <script type="text/javascript" src="@Url.Content("/Scripts/Businesses/pending.js")"></script>
}
